<?php

namespace plugin\ycMassage\app\model;

use app\common\service\UploadService;

class MassageService extends Model
{
    public function getThumbAttr($value)
    {
        return UploadService::url($value);
    }
    public function setThumbAttr($value)
    {
        return UploadService::path($value);
    }
    public function getVideoAttr($value)
    {
        return $value ? UploadService::url($value) : $value;
    }
    public function setVideoAttr($value)
    {
        return $value ? UploadService::path($value) : $value;
    }
}
